<div class="row-content am-cf">
    <div class="row">
        <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
            <div class="widget am-cf">
                <form id="my-form" class="am-form tpl-form-line-form" method="post">
                    <div class="widget-body">
                        <fieldset>
							<div class="widget-head am-cf">
                                <div class="widget-title am-fl">站点信息设置</div>
                            </div>
                            <div class="am-form-group">
                                <label class="am-u-sm-3 am-form-label form-require">网站名称 </label>
                                <div class="am-u-sm-9">
                                    <input type="text" class="tpl-form-input" name="data[name]"
                                           value="{$model['name']}" required>
                                </div>
                            </div>
                            <div class="am-form-group">
                                <label class="am-u-sm-3 am-form-label form-require">网站域名 </label>
                                <div class="am-u-sm-9">
                                    <input type="text" class="tpl-form-input" name="data[domain]"
                                           value="{$model['domain']}" required>
									<small>格式：https://www.baidu.com/。必须以斜杠（"/"）结尾</small>
                                </div>
                            </div>
							<div class="am-form-group">
                                <label class="am-u-sm-3 am-form-label">公司名称 </label>
                                <div class="am-u-sm-9">
                                    <input type="text" class="tpl-form-input" name="data[company]"
                                           value="{$model['company']}" >
                                </div>
                            </div>
							<div class="am-form-group">
                                <label class="am-u-sm-3 am-form-label">联系电话 </label>
                                <div class="am-u-sm-9">
                                    <input type="text" class="tpl-form-input" name="data[phone]"
                                           value="{$model['phone']}" >
                                </div>
                            </div>
							<div class="am-form-group">
                                <label class="am-u-sm-3 am-form-label">公司地址 </label>
                                <div class="am-u-sm-9">
                                    <input type="text" class="tpl-form-input" name="data[address]"
                                           value="{$model['address']}" >
                                </div>
                            </div>
							<div class="am-form-group">
                                <label class="am-u-sm-3 am-form-label">ICP备案号 </label>
                                <div class="am-u-sm-9">
                                    <input type="text" class="tpl-form-input" name="data[icp]"
                                           value="{$model['icp']}">
                                </div>
                            </div>
							<div class="am-form-group">
                                <label class="am-u-sm-3 am-form-label"> 站点描述 </label>
                                <div class="am-u-sm-9">
									<input type="text" class="tpl-form-input" name="data[description]"
                                           value="{$model['description']}">
                                </div>
                            </div>							
							<div class="am-form-group">
                                <label class="am-u-sm-3 am-form-label"> SEO关键字 </label>
                                <div class="am-u-sm-9">
									<textarea class="" rows="3" placeholder="请输入SEO关键字"
                                              name="data[keywords]">{$model['keywords']}</textarea>
                                </div>
                            </div>
							<div class="widget-head am-cf">
                                <div class="widget-title am-fl">其它参数设置</div>
                            </div>
							<div class="am-form-group">
                                <label class="am-u-sm-3 am-form-label">管理员微信ID </label>
                                <div class="am-u-sm-9">
                                    <input type="text" class="tpl-form-input" name="data[open_id]"
                                           value="{$model['open_id']}">
									<small>管理员微信关注官方公众号后，回复”id“获得。</small>
                                </div>
                            </div>
                            <div class="am-form-group">
                                <label class="am-u-sm-3 am-form-label">微信地图KEY </label>
                                <div class="am-u-sm-9">
                                    <input type="text" class="tpl-form-input" name="data[wxmap]"
                                           value="{$model['wxmap']}">
									<small>用于商户获取微信地图计算距离。我还没有？ <a href="https://lbs.qq.com/"  target="_blank"> 去注册</a></small>
                                </div>
                            </div>
							<div class="am-form-group">
                                <label class="am-u-sm-3 am-form-label">小程序版权 </label>
                                <div class="am-u-sm-9">
                                    <input type="text" class="tpl-form-input" name="data[copyright]"
                                           value="{$model['copyright']}">
									<small>该参数在小程序页面低端显示</small>
                                </div>
                            </div>
                            <div class="am-form-group">
                                <div class="am-u-sm-9 am-u-sm-push-3 am-margin-top-lg">
                                    <button type="submit" class="j-submit am-btn am-btn-secondary">提交
                                    </button>
                                </div>
                            </div>
                        </fieldset>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<script>
    $(function () {

        $('#my-form').formPost();

    });
</script>
